﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="categories_manager.ascx.cs" Inherits="Framework.Module.UpDownLoad.Admin.categories_manager" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="ComponentArt.Web.UI" Namespace="ComponentArt.Web.UI" TagPrefix="componentart" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<link href="/Administrator/Styles/treeStyle.css" rel="stylesheet" type="text/css" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table border="0" cellpadding="0" cellspacing="10" width="100%">
    <tr>
        <td valign="top" width="350" class="Contentbody_Left">
            <asp:TreeView ID="tvwCmds" runat="server"  ExpandImageUrl="/Administrator/Images/TreeView/col.gif" CollapseImageUrl="/Administrator/Images/TreeView/exp.gif" NodeStyle-CssClass="TreeNode" NodeIndent="15" NoExpandImageUrl="/Administrator/Images/TreeView/noexp.gif"
                    HoverNodeStyle-CssClass="HoverTreeNode" SelectedNodeStyle-CssClass="SelectedTreeNode" OnSelectedNodeChanged="tvwCmds_SelectedNodeChanged" >                   
                    </asp:TreeView>
        </td>
        <td valign="top">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="InputBox">                
                <tr>
                    <td height="25">
                        <asp:Label ID="Label1" Font-Bold="true" runat="server" Text="ID"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox Enabled="false" ID="txtID" runat="server" Width="35"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25" width="100">
                        <asp:Label ID="Label2" Font-Bold="true" runat="server" Text="Tên Danh mục"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtTenDanhMuc" runat="server" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25">
                        <asp:Label ID="Label3" Font-Bold="true" runat="server" Text="Category Name"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtCategoryName" runat="server" Width="100%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25">
                        <asp:Label ID="Label4" Font-Bold="true" runat="server" Text="Danh mục cha"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="drgParent" runat="server" Width="100%"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="25">
                        <asp:Label ID="Label5" Font-Bold="true" runat="server" Text="Thứ tự" ></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="drgOrder" runat="server" Width="50"></asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="25">
                        <asp:Label ID="Label6" Font-Bold="true" runat="server" Text="Hiển thị"></asp:Label>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkVisible" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td height="25">
                        <asp:Label ID="Label7" Font-Bold="true" runat="server" Text="Hoạt động"></asp:Label>
                    </td>
                    <td>
                        <asp:CheckBox ID="chkActive" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td height="25"></td>
                    <td></td>
                </tr>
                <tr>
                    <td colspan="2" style="height: 48px">
                    <center>
                        <asp:Button ID="cmdUpdate" runat="server" CausesValidation="False" CssClass="Button" OnClick="cmdUpdate_Click" Text="Cập nhật" Width="77px" meta:resourcekey="cmdUpdateResource1" />
                        <asp:Button ID="cmdAddNew" runat="server" CausesValidation="False" CssClass="Button" OnClick="cmdAddNew_Click" Text="Thêm mới" Width="77px" meta:resourcekey="cmdAddResource1" />
                        <asp:Button ID="cmdDelete" runat="server" CausesValidation="False" CssClass="Button" OnClick="cmdDelete_Click" Text="Xóa" Width="77px" meta:resourcekey="cmdDeleteResource1" />                        
                        <asp:Button ID="cmdEmpty" runat="server" CausesValidation="False" CssClass="Button" OnClick="cmdEmpty_Click" Text="Hủy" Width="77px" meta:resourcekey="cmdEmptyResource1" />                        
                    </center>
                    </td>                    
                </tr>                
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblStatus" runat="server" ForeColor="red" BackColor="transparent" Font-Bold="true" Font-Size="Small" ></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td height="150"></td>
                    <td></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>